BIN     = ../bin/libprinter_sys.so
#LIBS=-L$(LIBPATH) -lglib-2.0
LIBS=-lglib-2.0 -lX11 -lXtst

OBJ     = sys_log.o sys_xtest.o
SRCS     = sys_log.c sys_xtest.c


$(BIN) : $(OBJ)
		$(CC) $(CCFLAGS) -shared -o $(BIN) $(OBJ) $(LIBS)

.c.o:
		$(CC) $(CCFLAGS) -c $< $(LIBS) 

.PHONY : clean
clean :
	-rm -f $(BIN) $(OBJ)
    

    
